<?php
// +----------------------------------------------------------------------
// | Author: Stupboy King
// +----------------------------------------------------------------------
namespace app\api\validate;

use think\Validate;

class DriverCard extends Validate
{
    // 验证规则
    protected $rule = [
        'bank_name'  => 'require|length:2,20',
        'bank_number'=> 'require|length:10,28',
        'real_name'  => 'require|length:2,5',
        'bin_phone'  => 'length:11',
    ];
}